<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="text/javascript">

    var arr = [1, 2, 3];
    var obj = {name: 'andy', age: 23};

    /*对象解构 1. 结构要一致 但是等号左侧的顺序可以不一致，因为对象是按照 对象的属性 key值解构的*/
    let {age, name} = obj;
    console.log(name, age);


</script>

</html>
